package overrideoverwrite;

/**
 * @ClassName Cat
 * @Date 2024/11/5 21:00 13
 * @Author Jack Chen
 * @Description serenity-cucumber-auto-project-jack
 * @Version 1.0
 */

public class Cat extends Animal {
    public Cat(String name) {
        super(name);
    }
    @Override
    public void voice() {
        System.out.println(name + "在喵喵喵的叫~~~");
    }
}
